package factory;

import factory.factory.ShapeFactory;
import factory.interf.Shape;

/**
 * @ClassName Main
 * @Description TODO
 * @Author 马继斌
 * @Email 1423553596@qq.com
 * @Date 18-8-28 上午4:41
 **/
public class Main {
    public static void main(String[] args){
        ShapeFactory shapeFactory = new ShapeFactory();
        Shape circle = shapeFactory.getShape("Circle");
        circle.draw();
        System.out.println(circle.getClass());
    }
}
